package com.mvc.demo.service;

import com.mvc.demo.bean.MyProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hh
 * @since 2023/6/9
 */
@Service
public class UserService {

    @Autowired
    private MyProperties myProperties;

    public void test() {
        System.out.println(myProperties.getName());
    }
}
